When using rebar to build a system, you can manually create a rebar. config file to configure the rebar.
Two parameters are important in this file.
% Where to put any downloaded depandencies. Default is 'deps'
Where to store the dependent applications downloaded from the network?
1
{deps_dir, ["deps"]}.
In fact, this parameter also has another m
Reprinted: http://cryolite.iteye.com/blog/1159448
I mean you: http://www.haogongju.net/and www.ask3.cn/
Rebar is an open-source automatic building tool for Erlang applications. Basho tuncer development. It is actually an Erlang script (escript) tool, so it is easier to migrate between different platforms.
1. Install
You can download source code compilation from GitHub.Bash code
Git clone git: // github.com/basho/rebar.git
Construct the bash code of
One of the usage guides for Erlang Rebar: introductory articleFull-Text Catalogs:Https://github.com/rebar/rebar/wikiThe text of this chapter:https://github.com/rebar/rebar/wiki/Getting-startedRebar is a feature-rich Erlang build tool. For ERLANG/OTP Project compilation, test
Http://www.cnblogs.com/codew/p/3820847.htmlRebar as a common tool for compiling, building, publishing, packaging, and dynamic upgrades in Erlang development, below I record the installation and use of rebar toolsInstall rebar from source1. Create a file install_rebar.sh2. Copy the following Shell to Install_rebar.sh
1234
git clone git://github.com/r
Rebar is a follow ERLANG/OTP principle Erlang Project builder, using it to reduce the build standard ERLANG/OTP Project architecture configuration, and can be easily compiled, tested, published Span style= "font-family:arial; Background-color:white; " > Erlang application. More powerful, rebar Provides a dependency management mechanism that makes it easy for developers to pass NBSP; Git,
At first, I had to manually create several modules when writing the application. Recently I found a good thing Basho-rebar. Using rebar to create an application can automatically generate three files:
Lqg_app.erl
Lqg_sup.erl
LQG. App. SRC
Then, add the personal logic business, and an application will soon be released ......
Specific practice: ====== here Basho-Lager (Erlang's log application) is used as an
Reprinted: http://wiki.erlang-web.org/Rebar
Getting Erlang Web
Before you start, you have to prepare the project directory, and get Erlang Web framework as a dependency.1. Add a dependency to Erlang web in rebar. config file in your project directory.
{lib_dirs,["deps"]}.{deps, [{'erlang-web', ".*", {git, "git://github.com/esl/erlang-web.git", "rebar"}} ]}.
2
Erlang Rebar User Guide II: Making a release versionFull-Text Catalogs:Https://github.com/rebar/rebar/wikiLocation of this chapter:Https://github.com/rebar/rebar/wiki/Release-handlingHow to use rebar to package and publish apps.1
1. Create a project folder:mkdir MYAPPCD MyApp2. Download the rebar binary file to the folder of this project.git clone https://github.com/basho/rebar.git;3. Use the rebar template system to build the "skeleton" of our project.Rebar Creat-app Appid=myappAfter this command executes, a subfolder "src" is generated in the project file, which contains three files:Resource files for MYAPP.APP.SRC:OTP application
Note that the toolbar must have the ccs_noresize style. Otherwise, the position will be automatically set and the problem will occur.
// Rebar. cpp: defines the entry point of the application.//
# Include "stdafx. H"# Include "rebar. H"# Include "commctrl. H"# Pragma comment (Lib, "comctl32.lib ")
# Define max_loadstring 100
// Global variables:Hinstance hinst; // current instanceTchar sztitle [max_loadstri
1. {lib_dirs, ["path1", "path2"]}, specify multiple scan root directories of the dependent package. The default value is the "deps" directory under the current application, modify the "deps" Directory through {deps_dir, "person_deps_path "};2. dependency Description: A-> B; B-> C; application C does not need to put application B in the deps directory of application C, you can put both B and C in the deps directory of application;3. the corresponding 2nd rules can be established because a only lo
Open DREAMWEAVER, new HTML, such as:properties of the body:bgcolor page background colorBackground background wallpaper, picturestext text color TopMargin top marginLeftMargin left marginRightMargin Right MarginBottomMargin Bottom marginExample Body Property usage:Format Control Tags:Controls the color, font, and size of the font, respectively. font Bold font Bold Tilt Tilt underline Center ( before and after the default, if there are
Display Mode of html tags (Block-level tags, intra-row tags, intra-row block tags) and Label display mode
During the lecture today, we talked about the tag display mode in html, which is roughly divided into block-level labels and intra-Row labels. When using tags, beginners
Classification of HTML tags
When talking about label classification, we as beginners in the first use of the label will find some properties on some labels do not work, such as wide, high, horizontal center, in fact, the use of this property is only used on block-level labels to function. Personally, this is a very easy place for beginners to overlook, so I'll write it down!
First, we can divide the HTML tags
First, prefaceThis article will introduce the new semantic tags in HTML5 and support the compatibility of these tags in ie5.5~9 (IE9 has started to support some HTML5 new tags).Directory One lump:Second, semantic tags: article, aside, time, Mark, section, header, footer, Hgroup, progress, figure, figcaption, nav, meter
HTML5 does not support tags or new tags, and html5 does not support new tags
1. tags not supported or not supported by HTML5
-- Define the abbreviation of the first letter, which is not supported by html5. Use
-- Defines the embedded applet, which is not supported in HTML5. Use the object element label instead.
--
Specific Solutions
/*e/class/t_functions.phpSearch*/
The code is as follows
Copy Code
$str. = $jg. ' $JG = $br? ': $SHOWJG;
* Change to * *
The code is as follows
Copy Code
if (!empty ($r [$i])) {$str. = $jg. ' $JG = $br? ': $SHOWJG;}
Personal summary, appear blank label is certainly not a system of problems, I just judge if it is empty label on the filter, we can refer to the following Imperial CMS system
Common HTML tags for beginners (3) List tags: html list tags for beginners
In the third blog, we are talking about inserting link tags. We usually see blue link tags, images, and emails on webpages, these are the functions of inserting the
HTML advanced tags (1) ---- table tags, table tags
Using the preceding table attributes, you can create a table and cut rows and columns randomly.
The running result is as follows:
Note: 1. When using colspan and rowspan, you must delete the merged cells. Otherwise, the cells will be squeezed out of the table. This will no longer be demonstrated, and you wil
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.